﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/TabPage.Master" AutoEventWireup="true"
    CodeBehind="RequireHistory.aspx.cs" Inherits="eTerm.Platform.Web.Order.RequireHistory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpButtons" runat="server">
    <table cellpadding="0" cellspacing="1px" border="0" style="width: 100%;" bgcolor="b5d6e6">
        <tr style="background-color: White; height: 32px;">
            <td align="right" style="width: 80px;">
                提交时间:&nbsp;&nbsp;
            </td>
            <td style="padding: 5px">
                <asp:TextBox runat="server" ID="tbStartDate"></asp:TextBox>
                ~
                <asp:TextBox runat="server" ID="tbEndDate"></asp:TextBox>
            </td>
            <td align="right">
                提交用户:&nbsp;&nbsp;
            </td>
            <td style="padding: 5px">
                <asp:DropDownList style="width:350px;" runat="server" ID="dlUploader">
                </asp:DropDownList>
            </td>
            <td align="right">
                PNR编号:&nbsp;&nbsp;
            </td>
            <td style="padding: 5px">
                <asp:TextBox MaxLength="6" runat="server" ID="tbTicketNo"></asp:TextBox>
            </td>
        </tr>
        <tr style="background-color: White; height: 26px;">
            <td align="right">
                状态:&nbsp;&nbsp;
            </td>
            <td style="padding: 5px">
                <asp:CheckBoxList RepeatColumns="5" runat="server" ID="chkStatus">
                </asp:CheckBoxList>
            </td>
            <td align="right">
                申请编号:&nbsp;&nbsp;
            </td>
            <td colspan="3" style="padding: 5px">
                <asp:TextBox MaxLength="100" runat="server" ID="tbRequireCode"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="6" align="right"><asp:LinkButton runat="server" ID="btnQuery" Text="查询" OnClick="btnQuery_Click" /></td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpContent" runat="server">
    <asp:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
        runat="server" AlwaysShow="True" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
        PageSize="20" PrevPageText="上一页" ShowCustomInfoSection="Left" ShowInputBox="Never"
        OnPageChanging="AspNetPager1_PageChanging" CustomInfoTextAlign="Left" LayoutType="Table">
    </asp:AspNetPager>
    <asp:Repeater runat="server" EnableViewState="false" OnItemDataBound="rptPnrRequire_OnItemDataBound" ID="rptPnrRequire">
        <HeaderTemplate>
            <div class="datagrid-header">
                <div class="datagrid-header-inner" style="display: block;">
                    <table border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <div class="datagrid-cell" style="width: 40px; text-align: center; cursor: default;">
                                    <span>编号</span><span class="datagrid-sort-icon">&nbsp;</span></div>
                            </td>
                            <td>
                                <div class="datagrid-cell" style="width: 60px; text-align: center;">
                                    <span>PNR</span><span class="datagrid-sort-icon">&nbsp;</span></div>
                            </td>
                            <td>
                                <div class="datagrid-cell" style="width: 80px; text-align: center;">
                                    <span>申请号</span><span class="datagrid-sort-icon">&nbsp;</span></div>
                            </td>
                            <td>
                                <div class="datagrid-cell" style="width: 70px; text-align: center;">
                                    <span>状态</span><span class="datagrid-sort-icon">&nbsp;</span></div>
                            </td>

                            <td>
                                <div class="datagrid-cell" style="width: 250px; text-align: center;">
                                    <span>操作用户</span><span class="datagrid-sort-icon">&nbsp;</span></div>
                            </td>
                            <td>
                                <div class="datagrid-cell" style="width: 130px; text-align: center;">
                                    <span>提交时间</span><span class="datagrid-sort-icon">&nbsp;</span></div>
                            </td>
                            <td>
                                <div style="text-align: left; width: 350px; text-align: center; white-space: normal"
                                    class="datagrid-cell ">
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="datagrid-body">
                <table border="0" cellspacing="0" cellpadding="0">
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="datagrid-row-alt">
                <td>
                    <div style="text-align: left; width: 40px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("Id") %></div>
                </td>
                <td>
                    <div style="text-align: left; width: 60px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("PnrCode") %></div>
                </td>
                <td>
                    <div style="text-align: left; width: 80px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("RequireCode") %></div>
                </td>
                <td>
                    <div style="text-align: left; width: 70px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#eTerm.Platform.Common.EnumHelper.GetDescription((PNRRequireStatus)Eval(@"StatusId")) %></div>
                </td>

                <td>
                    <div style="text-align: left; text-align: center; width: 250px; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("DisplayName")%>[<%#Eval(@"CompayName")%>]
                    </div>
                </td>
                <td>
                    <div style="text-align: left; width: 130px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                     <%#Eval("RecordDate")%>   
                </td>
                <td>
                    <div style="text-align: left; width: 350px; text-align: left; white-space: normal"
                        class="datagrid-cell ">
                        <asp:LinkButton runat="server" ID="lnkUpdate" Text="修改"></asp:LinkButton>
                        <asp:LinkButton runat="server" ID="lnkCancel" Text="取消"></asp:LinkButton>
                        <asp:LinkButton runat="server" ID="lnkHistory" Text="历史"></asp:LinkButton>
                        <asp:LinkButton runat="server" ID="lnkApprove" Text="审核"></asp:LinkButton>
                    </div>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr style="text-align: center;">
                <td>
                    <div style="text-align: left; width: 40px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("Id") %></div>
                </td>
                <td>
                    <div style="text-align: left; width: 60px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("PnrCode")%></div>
                </td>
                <td>
                    <div style="text-align: left; width: 80px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("RequireCode")%></div>
                </td>
                <td>
                    <div style="text-align: left; width:70px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#eTerm.Platform.Common.EnumHelper.GetDescription((PNRRequireStatus)Eval(@"StatusId")) %>
                    </div>
                </td>

                <td>
                    <div style="text-align: left; text-align: center; width: 250px; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("DisplayName")%>[<%#Eval(@"CompayName")%>]
                    </div>
                </td>
                <td>
                    <div style="text-align: left; width: 130px; text-align: center; white-space: normal"
                        class="datagrid-cell ">
                        <%#Eval("RecordDate")%>   
                </td>
                <td>
                    <div style="text-align: left; width: 350px; text-align: left; white-space: normal"
                        class="datagrid-cell ">
                        <asp:LinkButton runat="server" ID="lnkUpdate" Text="修改"></asp:LinkButton>
                        <asp:LinkButton runat="server" ID="lnkCancel" Text="取消"></asp:LinkButton>
                        <asp:LinkButton runat="server" ID="lnkHistory" Text="历史"></asp:LinkButton>
                        <asp:LinkButton runat="server" ID="lnkApprove" Text="审核"></asp:LinkButton>
                    </div>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table> </div>
        </FooterTemplate>
    </asp:Repeater>
    <asp:AspNetPager ID="AspNetPager2" runat="server" CloneFrom="AspNetPager1">
    </asp:AspNetPager>
</asp:Content>
